File predict_liblinear.c containes the code used to measure linear svm prediction time.
Code basically measures the time of dot product of weight vector and feature vector for all the test data points.

Compiling the code:
run following command:  gcc predict_liblinear.c -o predict_liblinear -lm  

Running the code:
./predict_liblinear arg1 arg2 arg3

You need to provide 3 arguments:
First argument should be path to test data file, Data format should be as used by LDKL dense data format
Second argument should be path to Model file. Model file should have w vector (row vector) values all in a line and separated by space. Sample Model file is given in folder 'Sample Model File'.
Third argument should be number of validation iterations. If input for number of validation iteration is n, code will do prediction n times and return average time
